/*
 * Centinela.java
 *
 * Created on 6 de mayo de 2007, 02:34 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package adsi.branchbound3;

/**
 *
 * @author Aramis
 */
public class Centinela {
    
    Nodo nodo=new Nodo();
    int nivel;
    /** Creates a new instance of Centinela */
    public Centinela() {
    }
    public Centinela(Nodo n, int ni)
    {
        nodo=n;
        nivel=ni;
    }
    public Centinela(int ni)
    {
        nodo=null;
        nivel=ni;
    }
    public void enganchaCentinela(Nodo n)
    {
        nodo = n;
    }
    
}
